home *** CD-ROM | disk | FTP | other *** search
- Path: newshost.lanl.gov!tanmoy
- From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
- Newsgroups: comp.lang.c
- Subject: Re: Help referencing an array of strings
- Date: 05 Mar 1996 23:43:29 GMT
- Organization: Los Alamos National Laboratory
- Message-ID: <TANMOY.96Mar5164329@qcd.lanl.gov>
- References: <313C7F02.5D54@interramp.com>
- NNTP-Posting-Host: qcd.lanl.gov
- Mime-Version: 1.0
- Content-Type: text
- In-reply-to: "James A. Clifton"'s message of Tue, 05 Mar 1996 12:50:58 -0500
-
- In article <313C7F02.5D54@interramp.com>
- "James A. Clifton" <jclifton@interramp.com> writes:
-
- <snip>
- AC: I know how to reference the Mth character in the Nth string:
- AC:
- AC: s.sa[n][m]
- AC:
- AC: But not the Nth entire string, I've tryed:
- AC:
- AC: s.sa[n][] and *s.sa[n] but neither works.
-
- Try the simple before the more complicated:
-
- s.sa[n]
-
- Cheers
- Tanmoy
- --
- tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
- Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
- Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
- <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
- internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
- fax: 1 (505) 665 3003 voice: 1 (505) 665 4733 [ Home: 1 (505) 662 5596 ]
-